package com.fjl.shuzu;

import java.util.ArrayList;
import java.util.List;
import java.util.Timer;
import java.util.TimerTask;

public class LianXuTest {

	/**
	 * @param args
	 */
	public static  int x = 10;
	public static int preSpeedLimit;
	public static int curSpeedLimit;
	public static int nextSpeedLimit;
	
	public static void main(String[] args) {
		
		final List<String> strLst = new ArrayList<String>();
		int[] ints = new int[]{1,2,54,465,4,3,78};
		for(int i = 0;i < ints.length;i++){
			
		}
		Timer timer = new Timer();
		timer.schedule(new TimerTask() {
			
			@Override
			public void run() {
				
				strLst.add("test"+x++);
				for(String s:strLst){
					System.out.println(s);
				}
			}
		}, 0, 1000);
	}

	
}
